package cn.ll.action;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONArray;

import cn.ll.po.Customer;
import cn.ll.service.CustomerService;

public class ComTypeAction extends Action {

	CustomerService customerService = null;

	public void read(HttpServletRequest request, HttpServletResponse response) {

		logger.debug("read");

		List items = new ArrayList();
		
		Map item = new HashMap();
		item.put("key", "建筑设计");
		item.put("value", "建筑设计");
		items.add(item);
		
		item = new HashMap();
		item.put("key", "房地产开发");
		item.put("value", "房地产开发");
		items.add(item);
		item = new HashMap();
		item.put("key", "政府部门");
		item.put("value", "政府部门");
		items.add(item);
		item = new HashMap();
		item.put("key", "企业");
		item.put("value", "企业");
		items.add(item);
		item = new HashMap();
		item.put("key", "广告公司");
		item.put("value", "广告公司");
		items.add(item);
		
		item = new HashMap();
		item.put("key", "影视公司");
		item.put("value", "影视公司");
		items.add(item);
		
		item = new HashMap();
		item.put("key", "CG公司");
		item.put("value", "CG公司");
		items.add(item);
		item = new HashMap();
		item.put("key", "其他");
		item.put("value", "其他");
		
		items.add(item);
		
		
		Map rs = new HashMap();
		rs.put("success", true);
		rs.put("items", items);
		rtn(rs, request, response);

	}

}
